/*
 * ContactServiceAsync.java
 *
 * Created on June 20, 2009, 5:38 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package fhv.itb.mst2955.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
import fhv.itb.mst2955.client.model.ContactProxy;
import java.util.Vector;


/**
 *
 * @author Malcolm
 */
public interface ContactServiceAsync {
    public abstract void getContacts(AsyncCallback<Vector<ContactProxy>> asyncCallback);
    public abstract void deleteContact(int id, AsyncCallback<Integer> asyncCallback);


    public abstract void newContact(fhv.itb.mst2955.client.model.ContactProxy contact, AsyncCallback asyncCallback);


    public abstract void putContacts(java.util.Vector<fhv.itb.mst2955.client.model.ContactProxy> contacts, AsyncCallback asyncCallback);
}
